package memory;

import java.util.Date;

public class TimeManagement {
	private long milisec;
	private Date date;
	
	public TimeManagement(){}
	
	public TimeManagement(long mil){
		this.milisec=mil;
		date=new Date(milisec);
		//conversion();
	}
	
	public Date getDate(){
		return date;
	}
	
	public void setMilisec(long mil){
		this.milisec=mil;
		date.setTime(milisec);
	}
	
}
